﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace AuthApi.Contracts
{
    [Serializable]
    [DataContract]
    public class Company
    {
        public Company()
        {
            Applications = new List<WebApplicationInfoIncluded>();
        }

        [DataMember]
        public virtual int Id { get; set; }

        [DataMember]
        public virtual string Name { get; set; }

        [DataMember]
        public string Domain { get; set; }

        [DataMember]
        public string AdPath { get; set; }

        [DataMember]
        public string AdUser { get; set; }

        [DataMember]
        public string AdPassword { get; set; }

        [DataMember]
        public List<WebApplicationInfoIncluded> Applications { get; set; }
    }
}
